import request from '@/utils/request'

// 查询学习记录列表
export function listRecord(query) {
  return request({
    url: '/system/record/list',
    method: 'get',
    params: query
  })
}

// 导出学习记录
export function exportRecord(query) {
  return request({
    url: '/system/record/export',
    method: 'post',
    data: query
  })
}